﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class ClsPumpestationCol
    {
        public List<ClsPumpestation> Pumpestationer { get; private set; }
        ClsKanalCol KanalCol;
        ClsPumpeCol PumpeCol;

        public ClsPumpestationCol(ClsKanalCol KanalCol, ClsPumpeCol PumpeCol)
        {
            this.KanalCol = KanalCol;
            this.PumpeCol = PumpeCol;
            this.Pumpestationer = new List<ClsPumpestation>();
        }

        public void TilføjPumpestation(int Nr)
        {
            this.Pumpestationer.Add(new ClsPumpestation(Nr, this.KanalCol, this.PumpeCol));
        }
    }
}
